<?php 
use yii\widgets\ActiveForm;
use yii\helpers\Html;
use yii\helpers\Url;
 ?>
<style>
	caption{
		text-align: center;
		color: red;
		font-size:22px;
	}

	table{
		width:500px;
	}

	tr > td:first-of-type
	{
		width:20%;
		text-align: center;
	}

	tr>td>input{
		padding:5px;
		width:100%;
	}
	.form-group{
		/*border:1px solid #545;*/
		width: 500px;
    	text-align: right;
    	margin: 10px auto 0px;
	}
</style>

 <?php $form = ActiveForm::begin(); ?>

	<table  border='1px'  align='center'>
		<caption align="center" >修改数据</caption>
		
		<tr>
			<td>图片名称</td>
			<td><input  type='text'  name='imgurl' value="<?php echo $sqlmodel['imgurl'] ?>"></td>
		</tr>
		<tr>
			<td>状态</td>
			<td><input  type='text'   name='status' value="<?php echo $sqlmodel['status'] ?>"></td>
		</tr>
		<tr>
			<td>标签</td>
			<td><input  type='text'   name='flag' value="<?php echo $sqlmodel['flag'] ?>"></td>
		</tr>
		
	</table>
    <div class="form-group">
    	<a class='btn btn-success' href="<?php echo Url::to(['sqlcombat/index']) ?>"> 返回 </a>
        <?= Html::submitButton('确认', ['class' => 'btn btn-success', 'name' => 'login-button']) ?>
    </div>

<?php ActiveForm::end(); ?>